package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.HonorLabourTypeDao;
import com.site.wisdom_construction.entity.publicModule.HonorLabourType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/8
 * @Description
 */
@Service
public class HonorLabourTypeService implements HonorLabourTypeDao {
    @Autowired
    private HonorLabourTypeDao honorLabourTypeDao;

    @Override
    public int insertHonorLabourType(Map map) {
        return honorLabourTypeDao.insertHonorLabourType(map);
    }

    @Override
    public int deleteHonorLabourType(Map map) {
        return honorLabourTypeDao.deleteHonorLabourType(map);
    }

    @Override
    public int updateHonorLabourType(Map map) {
        return honorLabourTypeDao.updateHonorLabourType(map);
    }

    @Override
    public List<HonorLabourType> findHonorLabourTypeByPage(Map map) {
        return honorLabourTypeDao.findHonorLabourTypeByPage(map);
    }

    @Override
    public long Total(Map map) {
        return honorLabourTypeDao.Total(map);
    }

    @Override
    public List<HonorLabourType> selectHonorLabourType() {
        return honorLabourTypeDao.selectHonorLabourType();
    }

    @Override
    public List<HonorLabourType> findHonorLabourTypeByName(Map map) {
        return honorLabourTypeDao.findHonorLabourTypeByName(map);
    }
}
